]> dgit.raspbian.org Git - pcl.git/commitdiff
Compile with gcc on armhf
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Tue, 31 Mar 2026 06:36:15 +0000 (08:36 +0200)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Tue, 31 Mar 2026 06:36:15 +0000 (08:36 +0200)
Closes: #1132128
debian/control
debian/rules

index 0a53d1187ed157fcdc625a9c149377d5f3e9195e..06ce089d3b1d9d9f4eb1fe81505763e3b50bfe82 100644 (file)
@@ -5,7 +5,6 @@ Uploaders: Jochen Sprickerhof <jspricke@debian.org>,
 Section: libs
 Build-Depends: debhelper-compat (= 13),
                cmake,
-              clang [armhf],
               libboost-filesystem-dev,
               libboost-thread-dev,
               libboost-date-time-dev,
index 828d1fc0f232de43623b3435f4962281b857cb68..bbf3da240bc7bc345ccfc944788422e9f947b7f3 100755 (executable)
@@ -6,11 +6,8 @@ export DEB_CXXFLAGS_MAINT_APPEND = -g1
 
 BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON)
 
-# use clang on some archs as gcc is running into "virtual memory exhausted"
 ifneq (,$(filter $(DEB_BUILD_ARCH),armhf))
   PARALLEL=--max-parallel=2
-  export CC=/usr/bin/clang
-  export CXX=/usr/bin/clang++
   # fails with "Unknown debugging section .debug_addr"
   # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016936
   # can be removed once dwz is fixed